﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200126B RID: 4715
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SubmitOrigamiItemScRsp : IMessage<SubmitOrigamiItemScRsp>, IMessage, IEquatable<SubmitOrigamiItemScRsp>, IDeepCloneable<SubmitOrigamiItemScRsp>, IBufferMessage
	{
		// Token: 0x17003BCA RID: 15306
		// (get) Token: 0x0600D380 RID: 54144 RVA: 0x00239AD0 File Offset: 0x00237CD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SubmitOrigamiItemScRsp> Parser
		{
			get
			{
				return SubmitOrigamiItemScRsp._parser;
			}
		}

		// Token: 0x17003BCB RID: 15307
		// (get) Token: 0x0600D381 RID: 54145 RVA: 0x00239AD7 File Offset: 0x00237CD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SubmitOrigamiItemScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BCC RID: 15308
		// (get) Token: 0x0600D382 RID: 54146 RVA: 0x00239AE9 File Offset: 0x00237CE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SubmitOrigamiItemScRsp.Descriptor;
			}
		}

		// Token: 0x0600D383 RID: 54147 RVA: 0x00239AF0 File Offset: 0x00237CF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOrigamiItemScRsp()
		{
		}

		// Token: 0x0600D384 RID: 54148 RVA: 0x00239AF8 File Offset: 0x00237CF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOrigamiItemScRsp(SubmitOrigamiItemScRsp other) : this()
		{
			this.dIJMBPECNMC_ = other.dIJMBPECNMC_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D385 RID: 54149 RVA: 0x00239B29 File Offset: 0x00237D29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOrigamiItemScRsp Clone()
		{
			return new SubmitOrigamiItemScRsp(this);
		}

		// Token: 0x17003BCD RID: 15309
		// (get) Token: 0x0600D386 RID: 54150 RVA: 0x00239B31 File Offset: 0x00237D31
		// (set) Token: 0x0600D387 RID: 54151 RVA: 0x00239B39 File Offset: 0x00237D39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DIJMBPECNMC
		{
			get
			{
				return this.dIJMBPECNMC_;
			}
			set
			{
				this.dIJMBPECNMC_ = value;
			}
		}

		// Token: 0x17003BCE RID: 15310
		// (get) Token: 0x0600D388 RID: 54152 RVA: 0x00239B42 File Offset: 0x00237D42
		// (set) Token: 0x0600D389 RID: 54153 RVA: 0x00239B4A File Offset: 0x00237D4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600D38A RID: 54154 RVA: 0x00239B53 File Offset: 0x00237D53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SubmitOrigamiItemScRsp);
		}

		// Token: 0x0600D38B RID: 54155 RVA: 0x00239B61 File Offset: 0x00237D61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SubmitOrigamiItemScRsp other)
		{
			return other != null && (other == this || (this.DIJMBPECNMC == other.DIJMBPECNMC && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D38C RID: 54156 RVA: 0x00239BA0 File Offset: 0x00237DA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DIJMBPECNMC != 0U)
			{
				num ^= this.DIJMBPECNMC.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D38D RID: 54157 RVA: 0x00239BF8 File Offset: 0x00237DF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D38E RID: 54158 RVA: 0x00239C00 File Offset: 0x00237E00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D38F RID: 54159 RVA: 0x00239C0C File Offset: 0x00237E0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.DIJMBPECNMC != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.DIJMBPECNMC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D390 RID: 54160 RVA: 0x00239C68 File Offset: 0x00237E68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DIJMBPECNMC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DIJMBPECNMC);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D391 RID: 54161 RVA: 0x00239CC0 File Offset: 0x00237EC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SubmitOrigamiItemScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DIJMBPECNMC != 0U)
			{
				this.DIJMBPECNMC = other.DIJMBPECNMC;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D392 RID: 54162 RVA: 0x00239D10 File Offset: 0x00237F10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D393 RID: 54163 RVA: 0x00239D1C File Offset: 0x00237F1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.DIJMBPECNMC = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040054B6 RID: 21686
		private static readonly MessageParser<SubmitOrigamiItemScRsp> _parser = new MessageParser<SubmitOrigamiItemScRsp>(() => new SubmitOrigamiItemScRsp());

		// Token: 0x040054B7 RID: 21687
		private UnknownFieldSet _unknownFields;

		// Token: 0x040054B8 RID: 21688
		public const int DIJMBPECNMCFieldNumber = 12;

		// Token: 0x040054B9 RID: 21689
		private uint dIJMBPECNMC_;

		// Token: 0x040054BA RID: 21690
		public const int RetcodeFieldNumber = 2;

		// Token: 0x040054BB RID: 21691
		private uint retcode_;
	}
}
